package com.apps.member.service.impl;

import com.apps.member.model.po.KupaMemberBrowseGoods;
import com.apps.member.dao.KupaMemberBrowseGoodsMapper;
import com.apps.member.service.IKupaMemberBrowseGoodsService;
import com.apps.sworld.dao.impl.sDaoImpl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 大鹏
 * @since 2020-10-02
 */
@Service
public class KupaMemberBrowseGoodsServiceImpl extends sDaoImpl<KupaMemberBrowseGoodsMapper, KupaMemberBrowseGoods> implements IKupaMemberBrowseGoodsService
{

    @Override
    public KupaMemberBrowseGoods getOne(Integer member_id, Integer goods_id) {
        QueryWrapper<KupaMemberBrowseGoods> wrapper=new QueryWrapper<>();
        wrapper.eq("member_id",member_id);
        wrapper.eq("goods_id",goods_id);
        return getOne(wrapper);
    }
}
